import http from '../http'
import wmsApi from './wms'
import apsApi from './aps'
import mdsApi from './mds'
import baseApi from './base'

const url = http.ipAddress

const api = {
  baseUrl: url + 'api/',
  dictionary: url + 'api/Sys_Dictionary/GetVueDictionary',
  print: 'http://localhost:39000/api/', //本地打印插件的服务地址 固定为localhost
  wcsUrl: `${window.location.protocol}//${window.location.hostname}:9101/`,
  ...wmsApi,
  ...baseApi,
  ...apsApi,
  ...mdsApi,
}

export default api
